using System;

namespace Rhizome.Contract
{
    /// <summary>
    /// Base class for all Rhizome exceptions
    /// </summary>
#if !SILVERLIGHT && !WINDOWS_PHONE
    [Serializable]
#endif
    public abstract class RhizomeException : 
#if !SILVERLIGHT && !WINDOWS_PHONE
        ApplicationException
#else
        Exception
#endif
    {
        protected RhizomeException()
        {
        }

        protected RhizomeException(string message) : base(message)
        {
        }

        protected RhizomeException(string message, Exception innerException) : base(message, innerException)
        {
        }

       
    }
}